Reducing the number of rendered vertices
To improve the performance of meshes in your application:
- Make sure there are no extra meshes, vertices, or polygons.
- Remove the vertex attributes from meshes that are not used by shaders. The smaller the vertex size, the more efficient is the access to the vertex data, and the lower is memory consumption. You can remove unnecessary vertex attributes in most 3D modeling software during export. The export settings usually include a list of vertex attributes that are exported, such as normals, vertex colors and so on. For example, if a mesh is rendered without a textured material, the texture coordinates vertex attribute is unnecessary, and you can remove it.
- Decrease the number of vertices in the meshes you use in your application.
- Use textures instead of vertices to model the details.
See also
Setting the correct size of vertex cache